<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <link href="../../static/css/style.css" rel="stylesheet" type="text/css"/>
    <script language="JavaScript" src="../static/js/jquery.js"></script>

    <script type="text/javascript">
        $(function () {
            //导航切换
            $(".menuson li").click(function () {
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });

            $('.title').click(function () {
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if ($ul.is(':visible')) {
                    $(this).next('ul').slideUp();
                } else {
                    $(this).next('ul').slideDown();
                }
            });
        })
    </script>


</head>

<body style="background:#f0f9fd;">
<div class="lefttop"><span></span>通讯录</div>

<dl class="leftmenu">

    <shiro:hasPermission name="leave:btn">
        <dd>
            <div class="title">
                <span><img src="../static/images/leftico01.png"/></span>请假管理
            </div>
            <ul class="menuson">
                <shiro:hasPermission name="leave:index">
                    <li><cite></cite><a href="/admin/index/leave" target="rightFrame">请假信息</a><i></i></li>
                </shiro:hasPermission>
            </ul>
        </dd>
    </shiro:hasPermission>

    <shiro:hasPermission name="department:btn">
        <dd>
            <div class="title">
                <span><img src="../static/images/leftico02.png"/></span>学院管理
            </div>
            <ul class="menuson">
                <shiro:hasPermission name="department:index">
                    <li><cite></cite><a href="/admin/index/department" target="rightFrame">学院信息</a><i></i></li>
                </shiro:hasPermission>
                <shiro:hasPermission name="cls:index">
                    <li><cite></cite><a href="/admin/index/cls" target="rightFrame">班级信息</a><i></i></li>
                </shiro:hasPermission>
                <shiro:hasPermission name="student:index">
                    <li><cite></cite><a href="/admin/index/student" target="rightFrame">学生信息</a><i></i></li>
                </shiro:hasPermission>
            </ul>
        </dd>
    </shiro:hasPermission>

    <shiro:hasPermission name="sys:btn">
        <dd>
            <div class="title"><span><img src="../static/images/leftico03.png"/></span>系统管理</div>
            <ul class="menuson">
                <shiro:hasPermission name="user:index">
                    <li><cite></cite><a href="/admin/index/user" target="rightFrame">用户信息</a><i></i></li>
                </shiro:hasPermission>
                <shiro:hasPermission name="role:index">
                    <li><cite></cite><a href="/admin/index/role" target="rightFrame">角色信息</a><i></i></li>
                </shiro:hasPermission>
            </ul>
        </dd>
    </shiro:hasPermission>


    <dd>
        <div class="title"><span><img src="../static/images/leftico04.png"/></span>错误页面</div>
        <ul class="menuson">
            <li><cite></cite><a href="/error/404.jsp" target="rightFrame">404页面</a><i></i></li>
            <li><cite></cite><a href="/error/noAuth.html" target="rightFrame">无权限</a><i></i></li>
            <li><cite></cite><a href="/error/bizError.html" target="rightFrame">请求参数错误</a><i></i></li>
            <li><cite></cite><a href="/error/unknowError.jsp" target="rightFrame">服务器错误</a><i></i></li>
        </ul>

    </dd>

</dl>

</body>
</html>
